home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Internet
/
Collection of Internet.iso
/
infosrvr
/
dev
/
www_talk.930
/
001172_ccprl@xdm001.c…ranfield.ac.uk _Mon May 24 12:32:09 1993.msg
< prev
next >
Wrap
Internet Message Format
|
1994-01-24
|
2KB
Return-Path: <ccprl@xdm001.ccc.cranfield.ac.uk>
Received: from dxmint.cern.ch by nxoc01.cern.ch (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
id AA11264; Mon, 24 May 93 12:32:09 MET DST
Received: from xdm001.ccc.cranfield.ac.uk by dxmint.cern.ch (5.65/DEC-Ultrix/4.3)
id AA09731; Mon, 24 May 1993 12:53:27 +0200
Received: by xdm001
id AA25179; Mon, 24 May 93 11:53:20 +0100
Received: by xdm039 (5.57/4.7) id AA03553; Mon, 24 May 93 11:53:15 +0100
Message-Id: <9305241053.AA03553@xdm039>
To: www-talk@nxoc01.cern.ch
Cc: ccprl@xdm001.ccc.cranfield.ac.uk
Subject: DECwrite -> HTML PERL script
Reply-To: p.lister@cranfield.ac.uk
Date: Mon, 24 May 93 11:53:12 BST
From: "Peter Lister, Cranfield Computer Centre" <ccprl@xdm001.ccc.cranfield.ac.uk>
I have written a crude but effective script which takes SGML output
from DECwrite and groks it into HTML. It's a first pass, and not
comprehensive, but it has got a few existing DECwrite docs into WWW OK.
The easy stuff is just direct translation, but because DECwrite handles
nested lists different to HTML, there's a lot of code devoted to them.
I've also got it to put footnotes at the bottom of the page, and
rebuild a table of contents. DECwrite SGML, would you believe, outputs
the page refs in a TOC as the actual page numbers as per A4 paper. :-(
The script is at http://www.cranfield.ac.uk/test/decw2html
If any DECwriters out there try it, do let me know. Ta.
Peter Lister p.lister@cranfield.ac.uk
Computer Centre,
Cranfield Institute of Technology, Voice: +44 234 754200 ext 2828
Cranfield, Bedfordshire MK43 0AL England Fax: +44 234 750875